<?php
include_once 'classes/DBClass.php';
include_once 'classes/controls/LoginForm.php';
include_once 'classes/Campaign.php';
include_once 'classes/CampaignList.php';
session_start();
$cPage = "buy";

if(isset($_GET["confirm"])){
	$_SESSION["basketArray"] = array();
}
?>

<?php 
include_once 'header.php';
?>

 <script>
            $(document).ready(function() {
            	//Set default open/close settings
            	$('.acc_container').hide(); //Hide/close all containers
            	$('.acc_trigger:first').addClass('active').next().show(); //Add "active" class to first trigger, then show/open the immediate next container

            	//On Click
            	$('.acc_trigger').click(function(){
            		if( $(this).next().is(':hidden') ) { //If immediate next container is closed...
            			$('.acc_trigger').removeClass('active').next().slideUp(); //Remove all "active" state and slide up the immediate next container
            			$(this).toggleClass('active').next().slideDown(); //Add "active" state to clicked trigger and slide down the immediate next container
            		}
            		return false; //Prevent the browser jump to the link anchor
            	});
            });
            </script>


<div id="content"> 
           
            <table class="content_layout" width="100%" border="0" cellspacing="0" cellpadding="0"> 
            <tr> 
            
            <td class="content_layout"> 
              <div > 




<h2 class="acc_trigger"><a href="#">Address Information</a></h2>
<div class="acc_container">
    <div class="block">


 <table class="content_layout" width="100%" border="0" cellspacing="0" cellpadding="0">
            <tbody><tr>
            
            <td class="content_layout">
              <div id="right">
                

<div id="top-shadow"></div>

<div id="left-shadow">
  <div id="right-shadow">
    
<div class="padded-horizontal">
    
           
          
    	<div style="padding:25px 0px 20px 17px;"><img src="./images/yeni_adres_giriniz.png" style="_padding-top:600px;"></div> 
    
    <form method="POST" action="http://www.markafoni.com/order/checkout/add-address/">

    <div class="address_box">
    <div class="rel">


    </div>
    <table class="nbox" border="0" cellspacing="0" cellpadding="0">
       <tbody><tr>
         <th class="nbox_lt nbox_th"></th>
         <th class="nbox_top nbox_th"></th>
         <th class="nbox_rt nbox_th"></th>
       </tr>
       <tr>
         <th class="nbox_left nbox_th"></th>
         <th class="nbox_content nbox_th">
          	 <div class="nbox_padding">
                	<table class="tablo_yazi_sag">
                	      
                	   <tbody><tr class="textfield">
                    		<th>
                    		  * Adres Başlığı
                    		</th>
                    		<td>
                    		  <input id="id_address_title" type="text" name="address_title" maxlength="16">
                    		</td>
                	   </tr>
                	      
                	   <tr class="textfield">
                    		<th>
                    		  * Ad
                    		</th>
                    		<td>
                    		  <input id="id_first_name" type="text" name="first_name" maxlength="50">
                    		</td>
                	   </tr>
                	      
                	   <tr class="textfield">
                    		<th>
                    		  * Soyad
                    		</th>
                    		<td>
                    		  <input id="id_last_name" type="text" name="last_name" maxlength="50">
                    		</td>
                	   </tr>
                	      
                	   <tr class="textfield-wide">
                    		<th>
                    		  * Adres Satırı 1
                    		</th>
                    		<td>
                    		  <input id="id_address1" type="text" name="address1" maxlength="64">
                    		</td>
                	    </tr>
                	      
                	    <tr class="textfield-wide">
                      		<th>
                      		  Adres Satırı 2
                      		</th>
                      		<td>
                      		  <input id="id_address2" type="text" name="address2" maxlength="64">
                      		</td>
                	     </tr>
                	      
                	     <tr class="textfield">
                        		<th>
                        		  * Şehir
                        		</th>
                        		<td>
                        		  <select name="city" id="id_city">
<option value="" selected="selected">---------</option>
<option value="253">Adana</option>
<option value="291">Adıyaman</option>
<option value="266">Afyonkarahisar</option>
<option value="324">Ağrı</option>
<option value="260">Aksaray</option>
<option value="289">Amasya</option>
<option value="256">Ankara</option>
<option value="255">Antalya</option>
<option value="312">Ardahan</option>
<option value="313">Artvin</option>
<option value="258">Aydın</option>
<option value="288">Balıkesir</option>
<option value="254">Bartın</option>
<option value="320">Batman</option>
<option value="295">Bayburt</option>
<option value="322">Bilecik</option>
<option value="265">Bingöl</option>
<option value="267">Bitlis</option>
<option value="315">Bolu</option>
<option value="274">Burdur</option>
<option value="285">Bursa</option>
<option value="284">Çanakkale</option>
<option value="316">Çankırı</option>
<option value="304">Çorum</option>
<option value="259">Denizli</option>
<option value="272">Diyarbakır</option>
<option value="283">Düzce</option>
<option value="308">Edirne</option>
<option value="246">Elazığ</option>
<option value="279">Erzincan</option>
<option value="296">Erzurum</option>
<option value="250">Eskişehir</option>
<option value="299">Gaziantep</option>
<option value="297">Giresun</option>
<option value="310">Gümüşhane</option>
<option value="323">Hakkari</option>
<option value="280">Hatay</option>
<option value="311">Iğdır</option>
<option value="298">Isparta</option>
<option value="248">İstanbul</option>
<option value="305">İzmir</option>
<option value="269">Kahramanmaraş</option>
<option value="245">Karabük</option>
<option value="287">Karaman</option>
<option value="301">Kars</option>
<option value="252">Kastamonu</option>
<option value="292">Kayseri</option>
<option value="325">Kilis</option>
<option value="275">Kırıkkale</option>
<option value="276">Kırklareli</option>
<option value="282">Kırşehir</option>
<option value="262">Kocaeli(izmit)</option>
<option value="249">Konya</option>
<option value="271">Kütahya</option>
<option value="273">Malatya</option>
<option value="264">Manisa</option>
<option value="261">Mardin</option>
<option value="251">Mersin(içel)</option>
<option value="302">Muğla</option>
<option value="300">Muş</option>
<option value="257">Nevşehir</option>
<option value="268">Niğde</option>
<option value="294">Ordu</option>
<option value="307">Osmaniye</option>
<option value="314">Rize</option>
<option value="303">Sakarya</option>
<option value="247">Samsun</option>
<option value="281">Şanlıurfa</option>
<option value="318">Siirt</option>
<option value="317">Sinop</option>
<option value="321">Şırnak</option>
<option value="290">Sivas</option>
<option value="309">Tekirdağ</option>
<option value="278">Tokat</option>
<option value="263">Trabzon</option>
<option value="286">Tunceli</option>
<option value="270">Uşak</option>
<option value="319">Van</option>
<option value="293">Yalova</option>
<option value="277">Yozgat</option>
<option value="306">Zonguldak</option>
</select>
                        		</td>
                	      </tr>
                	      
                	      
                	      <tr class="textfield">
                        		<th>
                        		  Posta Kodu
                        		</th>
                        		<td>
                        		  <input id="id_postal_code" type="text" name="postal_code" maxlength="5">
                        		</td>
                	      </tr>
                	      
                	      <tr class="textfield">
                        		<th>
                        		  * Telefon
                        		</th>
                        		<td>
                        		  <input id="id_phone" type="text" name="phone" maxlength="32">
                        		  <span style="color:gray;padding-left:5px"><i>(Örn: 2122454545)</i></span>
                        		</td>
                        </tr>
                	 </tbody></table>
	       </div>
	       </th>
         <th class="nbox_right nbox_th"></th>
       </tr>
       <tr>
         <th class="nbox_lb nbox_th"></th>
         <th class="nbox_bottom nbox_th"></th>
         <th class="nbox_rb nbox_th"></th>
       </tr>
     </tbody></table>
    </div>
    </form>
</div>
<div class="padded-horizontal padded-vertical">
  <div id="agreement">
  
	 </div>
</div>


  </div>
</div>
<div id="bottom-shadow"></div>

              </div>
            </td>
            
            
            </tr>
            </tbody></table>
          
    </div>
</div>

<h2 class="acc_trigger"><a href="#">Payment</a></h2>
<div class="acc_container">
    <div class="block">
	
            <table class="content_layout" width="70%" border="0" cellspacing="0" cellpadding="0">
            <tbody><tr>
            
            <td class="content_layout">
              <div id="right">
                

<div><img src="./images/checkout-header-simple.png" border="0" height="36" style="_padding-top:36px;"></div>

<div id="left-shadow">
  <div id="right-shadow">
    
<div class="content" style="padding:10px 20px 30px 20px;">
  <form method="post" id="formx">

    <div style="padding-bottom:5px;">
      <strong>Sipariş Takip Numarası:</strong> XXXXXXXXXXXXXXXXXXX
    </div>
    <div class="dash"></div>
    <div style="padding-bottom:17px;">
      <img src="./images/kredi-karti-bilgilerim.png" style="_padding-top:600px;" alt="Kredi Kartı Bilgilerim">
    </div>
    <div id="step_1" style="display:block;">
      <h3>1. Adım</h3>
      <label for="banka">Kartınızın ait olduğu bankayı seçiniz:</label>
      <select id="banka" name="banka">
        <option value="">Lütfen Bankanızı Seçiniz</option>
      <option value="469">Garanti Bankası A.Ş.</option><option value="470">Denizbank A.Ş.</option><option value="471">Şekerbank A.Ş.</option><option value="472">Türk Ekonomi Bankası TEB A.Ş.</option><option value="473">ING Bank</option><option value="474">İş Bankası A.Ş.</option><option value="475">Ziraat Bankası</option><option value="476">Akbank A.Ş.</option><option value="477">Citibank N.A.</option><option value="478">Diğer</option><option value="479">Yapı ve Kredi A.Ş.</option><option value="480">Fortis Bank A.Ş.</option><option value="483">Finansbank A.Ş.</option></select>
    </div>
    <div id="step_2" class="step" style="display: block; ">
      <div class="dash"></div>
      <h3>2. Adım</h3>
      <label for="">Kredi kartı tipinizi seçiniz:</label>
      <div id="kredi-karti-seciniz"><button type="button" cardid="678" id="card_678" class="" style="display: none; "><img src="./markafoni_files/bonus____.jpg"></button><button type="button" cardid="683" id="card_683" class="" style="display: none; "><img src="./markafoni_files/shopandmiles_.jpg"></button><button type="button" cardid="684" id="card_684" class="" style="display: none; "><img src="./markafoni_files/amex.jpg"></button><button type="button" cardid="692" id="card_692" class="" style="display: none; "><img src="./markafoni_files/diger________.jpg"></button><button type="button" cardid="679" id="card_679" class="" style="display: none; "><img src="./markafoni_files/bonus___.jpg"></button><button type="button" cardid="695" id="card_695" class="" style="display: none; "><img src="./markafoni_files/diger_____.jpg"></button><button type="button" cardid="680" id="card_680" class="" style="display: none; "><img src="./markafoni_files/bonus__.jpg"></button><button type="button" cardid="697" id="card_697" class="" style="display: none; "><img src="./markafoni_files/diger___.jpg"></button><button type="button" cardid="681" id="card_681" class="" style="display: none; "><img src="./markafoni_files/bonus_.jpg"></button><button type="button" cardid="700" id="card_700" class="" style="display: none; "><img src="./markafoni_files/diger.jpg"></button><button type="button" cardid="682" id="card_682" class="" style="display: none; "><img src="./markafoni_files/bonus.jpg"></button><button type="button" cardid="686" id="card_686" class="" style="display: none; "><img src="./markafoni_files/maximum_.jpg"></button><button type="button" cardid="698" id="card_698" class="" style="display: none; "><img src="./markafoni_files/diger__.jpg"></button><button type="button" cardid="685" id="card_685" style="display: block; " class="pinkbg"><img src="./markafoni_files/maximum__.jpg" id=""></button><button type="button" cardid="693" id="card_693" style="display: block; "><img src="./markafoni_files/diger_______.jpg"></button><button type="button" cardid="687" id="card_687" class="" style="display: none; "><img src="./markafoni_files/maximum.jpg"></button><button type="button" cardid="699" id="card_699" class="" style="display: none; "><img src="./markafoni_files/diger_.jpg"></button><button type="button" cardid="688" id="card_688" class="" style="display: none; "><img src="./markafoni_files/axess_.jpg"></button><button type="button" cardid="690" id="card_690" class="" style="display: none; "><img src="./markafoni_files/wings.jpg"></button><button type="button" cardid="691" id="card_691" class="" style="display: none; "><img src="./markafoni_files/diger_________.jpg"></button><button type="button" cardid="689" id="card_689" class="" style="display: none; "><img src="./markafoni_files/axess.jpg"></button><button type="button" cardid="696" id="card_696" class="" style="display: none; "><img src="./markafoni_files/diger____.jpg"></button><button type="button" cardid="694" id="card_694" class="" style="display: none; "><img src="./markafoni_files/diger_vm.jpg"></button><button type="button" cardid="701" id="card_701" class="" style="display: none; "><img src="./markafoni_files/world___.jpg"></button><button type="button" cardid="703" id="card_703" class="" style="display: none; "><img src="./markafoni_files/diger__________.jpg"></button><button type="button" cardid="702" id="card_702" class="" style="display: none; "><img src="./markafoni_files/world__.jpg"></button><button type="button" cardid="704" id="card_704" class="" style="display: none; "><img src="./markafoni_files/diger___________.jpg"></button><button type="button" cardid="707" id="card_707" class="" style="display: none; "><img src="./markafoni_files/cardfinans_logo__.png"></button></div>
      <div class="clear" style="height:0;"></div>
    </div>
    
    <div id="step_3" class="step" style="display: block; ">
      <div class="dash"></div>
      <h3>3. Adım</h3>
      <table id="odeme-sekli-seciniz" cellspacing="0">
        <thead>
          <tr class="dontdelete">
            <td style="background:#fff !important;border-bottom:1px solid #a5928a;padding:0;text-align:left;" colspan="2">
              Ödeme Şekli:
            </td>
            <td style="background:#fff !important;border-bottom:1px solid #a5928a;padding:0;text-align:right;" colspan="2">
              <div id="banka-logo" style="background-image: url(images/maximum__.jpg); "></div>
            </td>
          </tr>
          <tr class="dontdelete">
            <th width="30">&nbsp;</th>
            <th width="105">Taksit</th>
            <th width="128">Aylık Ödeme</th>
            <th width="120">Toplam</th>
          </tr>
        </thead>
        <tbody id="taksittable">
          
          
        <tr><td class="first"><input type="radio" name="taksit" value="1" id=""></td><td>Tek Çekim</td><td>&nbsp;</td><td>31.90 TL</td></tr><tr><td class="first"><input type="radio" name="taksit" value="3" id=""></td><td>3</td><td>11.70 TL</td><td>35.09 TL</td></tr><tr><td class="first"><input type="radio" name="taksit" value="6"></td><td>6</td><td>6.12 TL</td><td>36.69 TL</td></tr><tr class="last-line"><td class="first"><input type="radio" name="taksit" value="12"></td><td>12</td><td>3.19 TL</td><td>38.28 TL</td></tr></tbody>
      </table>
    </div>
    <div id="step_4" class="step" style="display: block; ">
      <div class="dash"></div>
      <h3>4. Adım</h3>
      <div>Satış sözleşmeleri:</div>
      <div class="sozlesme"><iframe id="agreement_1" name="agreement_1" rel="/order/checkout/agreement/?agreement_type=pre"></iframe></div>
      <div><label><input type="checkbox" id="sozlesme_1" class="sozlesme_cx"> <a class="pop inline" href="https://www.arkafoni.com/order/checkout/agreement/?agreement_type=pre&pop">Ön bilgilendirme formunu</a> okudum ve kabul ediyorum.</label></div>
      <div class="sozlesme"><iframe id="agreement_2" name="agreement_2" rel="/order/checkout/agreement/"></iframe></div>
      <div><label><input type="checkbox" id="sozlesme_2" class="sozlesme_cx"> <a class="pop inline" href="https://www.arkafoni.com/order/checkout/agreement/?&pop">Mesafeli satış sözleşmesini</a> okudum ve kabul ediyorum.</label></div>
    </div>
    
    <div id="step_5" class="step" style="display: block; ">
      <div class="dash"></div>
      <h3>Son Adım</h3>
      <div style="padding-top:6px;padding-bottom:8px;"><img src="./images/b_isbankasi.jpg" id="bankimage"></div>
      <div class="apd-form " id="apdform">
        <table id="cc" border="0" cellspacing="0" cellpadding="0">
          
          <tbody><tr class="cc-form-label textfield">
            <th align="left" colspan="5">
              <div align="left">Kart üzerindeki isim</div>
            </th>
          </tr>
          <tr>
            <td colspan="5">
              <div align="left" id="isim-input"><input autocomplete="off" type="text" name="name" id="id_name"></div>
            </td>
          </tr>
          
          <tr class="cc-form-label">
            <th><div align="left">Kart tipi</div></th>
            <th><div align="left">Kredi Kartı Numarası</div></th>
            <th><div align="left">&nbsp;</div></th>
            <th><div align="left">&nbsp;</div></th>
            <th>&nbsp;</th>
          </tr>
          <tr>
            <td>
              <select name="type" id="id_type">
<option value="0">MasterCard</option>
<option value="1">Visa</option>
<option value="2">American Express</option>
</select>
            </td>
            <td>
              <input autocomplete="off" name="number" maxlength="16" type="text" id="id_number" size="16">
            </td>
            <th style="vertical-align: top">
              <span class="pink" style="font-weight:bold !important;">Aralarda boşluk bırakmadan 16 karakter olarak yazınız.</span>
            </th>
            <td>
              &nbsp;
            </td>
            <td>&nbsp;</td>
          </tr>
          
          <tr>
            <th class="align-left">CVC2</th>
            <th class="align-left">Son Kullanma Tarihi</th>
            <td colspan="3">&nbsp;</td>
          </tr>
          <tr>
            <td id="cvv" align="left"><input autocomplete="off" name="cvv2" maxlength="4" type="text" id="id_cvv2" size="4"> <a class="inline" href="https://www.google.com/" >CVC2 nedir?</a></td>
            <td><select name="month" id="id_month">
<option value="01">01</option>
<option value="02">02</option>
<option value="03">03</option>
<option value="04">04</option>
<option value="05">05</option>
<option value="06">06</option>
<option value="07">07</option>
<option value="08">08</option>
<option value="09">09</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
</select>&nbsp;<select name="year" id="id_year">
<option value="2011">2011</option>
<option value="2012">2012</option>
<option value="2013">2013</option>
<option value="2014">2014</option>
<option value="2015">2015</option>
<option value="2016">2016</option>
<option value="2017">2017</option>
<option value="2018">2018</option>
<option value="2019">2019</option>
<option value="2020">2020</option>
<option value="2021">2021</option>
<option value="2022">2022</option>
<option value="2023">2023</option>
<option value="2024">2024</option>
<option value="2025">2025</option>
<option value="2026">2026</option>
<option value="2027">2027</option>
<option value="2028">2028</option>
<option value="2029">2029</option>
<option value="2030">2030</option>
</select></td>
            <td colspan="3"></td>
          </tr>
        </tbody></table>
      </div>
      <input type="hidden" name="cardtype" id="cardtype" value="685">
      
<table id="indicator" style="display:none;"><tbody><tr><td><img src="./images/indicator.gif" alt=" "></td><td> <span class="pink" style="font-weight:bold;color:#555555 !important;font-size:17px;">&nbsp; Siparişiniz onaylanıyor. Lütfen bekleyiniz. Bu işlem birkaç dakika sürebilir.</span></td></tr></tbody></table>
    </div>
  </form>
</div><!--content-->


  </div>
</div>
<div id="bottom-shadow"></div>

              </div>
            </td>
            
            
            </tr>
            </tbody></table>
            
        
    </div>
</div>
<h2 class="acc_trigger"><a href="#">Cargo</a></h2>
<div class="acc_container">
    <div class="block">
	Kargo Seçiniz..<br/><br/>
	<table>
	<tr>
	<tr>
	<td>
	YURTİÇİ KARGO
	</td>
	</tr>
	<td>
	<input type="radio" value="k1" name="cargo"><img src="./images/cicek1.png">
	</td>
	<td>
	
	</td>
	<td>
	100 TL üzeri alışverişlerinizde kargo bedava.
	</td>
	</tr>
	

	<tr>
	<tr>
	<td>
	ARAS KARGO
	</td>
	</tr>
	<td>
	<input type="radio" value="k2" name="cargo"><img src="./images/10tl_kazan2.png">
	</td>
	<td>
	150 TL üzeri alışverişlerinizde kargo bedava.
	</td>
	</tr>
	</table>
    </div>
</div>

<br/>
<br/>
  <div id="buttons">
    <div style="float: left; padding-left: 16px;"><a href="/infophp"><img src="./images/continue-shopping.png" alt="Alisverise Devam" style="_padding-top:26px;"></a></div>
    <div style="float: right; padding-right: 100px;"><a href="/infophp/buy.php?confirm=ok"><img src="./images/checkout-button.png" alt="Satin Al" style="_padding-top:26px;"></a></div>
    <div class="clear"></div>
  </div>







	




			<div style="height:440px;"></div> 
		 
			

 
              </div> 
            </td> 
            
            
            </tr> 
            </table> 
            
          </div> 
          
<?php 
include_once 'footer.php';
?>
